package org.inspursc.s0517.health.evaluation.entity;

import lombok.Data;
import org.inspursc.s0517.health.common.entity.AbstractIdEntity;

import javax.persistence.*;

/**
 * @author B_Dream
 * @version 2018/5/18 14:27
 */
@Entity(name = "t_question_category")
@Data
public class QuestionCategory extends AbstractIdEntity {

    @Column(name = "parent_id")
    private Integer parentId;

    @Column(name = "name")
    private String name;

    @Column(name = "description")
    private String description;

    @Column(name = "disabled")
    private Boolean disabled;

    @Column(name = "type_id")
    private int typeId;

}
